Skip to content

fix: expert-cd auto-create draft scope#643

Merged
FL4TLiN3 merged 3 commits intomainfrom
fix-expert-cd-create-draft
Feb 25, 2026
Merged

fix: expert-cd auto-create draft scope#643
FL4TLiN3 merged 3 commits intomainfrom
fix-expert-cd-create-draft

Conversation

@FL4TLiN3
Copy link
Contributor

Summary

  • Fix "Resolve draft ID" step to create the draft scope if it doesn't exist
  • Uses expertDrafts.list to find existing draft, falls back to applications.list + expertDrafts.create
  • No GitHub variables needed — fully self-contained

Test plan

  • Merge and manually trigger expert-cd workflow

🤖 Generated with Claude Code

FL4TLiN3 and others added 2 commits February 25, 2026 14:13
Use API client to find existing draft via expertDrafts.list, or create
one via applications.list + expertDrafts.create if none exists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The parameter name `draftId` was misleading — it refers to a draft
scope ID (a reusable container), not a draft ref ID (an ephemeral
snapshot created by each push). Rename to `draftScopeId` to prevent
confusion between the two concepts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 enabled auto-merge (squash) February 25, 2026 14:28
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@FL4TLiN3 FL4TLiN3 merged commit 85c3972 into main Feb 25, 2026
11 checks passed
@FL4TLiN3 FL4TLiN3 deleted the fix-expert-cd-create-draft branch February 25, 2026 14:30
@FL4TLiN3 FL4TLiN3 mentioned this pull request Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant